package com.myapp.youba;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class LoginMainActivity extends Activity {

	private Context context = LoginMainActivity.this;

	private ImageButton ibGotoFriendMicroblog;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_login_main);
		init();
		ibGotoFriendMicroblog.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(context,
						FriendMicroBlogActivity.class);
				startActivity(intent);
			}
		});
	}

	private void init() {
		ibGotoFriendMicroblog = (ImageButton) findViewById(R.id.ib_main_login_after_goto_friend_microblog);
	}
}
